
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>{$WEB.name}</title>
    <link href='__PUBLIC__/Agents/css/global.css' rel='stylesheet' type='text/css' />
    <link href='__PUBLIC__/Agents/css/main.css' rel='stylesheet' type='text/css' />
    <script type='text/javascript' src='__PUBLIC__/Agents/js/jquery-1.7.2.min.js'></script>
    <script type='text/javascript' src='__PUBLIC__/Agents/js/global.js'></script>
</head>

<body>
<script type='text/javascript' src='__PUBLIC__/Agents/js/main.js'></script>
<script language="javascript">$(document).ready(main_obj.page_init);</script>
<div id="header">
    <div class="wrap"><a href="./"><img src="http://img.ptweixin.com/agent/1310/a9a2b9bd27.jpg" /></a></div>
</div>
<div id="main" class="wrap">
   
   <!-- 左边栏目导航 -->
    <include file="Public/left"/>
    
    <div class="righter">
        <link href='__PUBLIC__/Agents/css/member.css' rel='stylesheet' type='text/css' />
<script type='text/javascript' src='__PUBLIC__/Agents/js/member.js'></script>
<div class="r_nav">
    <ul>
                    <li class="cur"><a href="{:U('Users/index')}">用户管理</a></li>
                    <li class=""><a href="{:U('Users/userAdd')}">添加用户</a></li>
            </ul>
</div>      <div class="r_con"><div id="member">
            <div class="view">
            <div class="m_lefter">
                <div class="rows">
                    <label>用户名:</label>
                    <div class="txt">{$userinfo.nickname}</div>
                    <div class="clear"></div>
                </div>
                <div class="rows">
                    <label>帐号状态:</label>
                    <div class="txt"><eq name="userinfo.istest" value="1" >测试用户<else/>正常</eq></div>
                    <div class="clear"></div>
                </div>
                <div class="rows">
                    <label>开通时间:</label>
                    <div class="txt">{$userinfo.reg_time|date="Y-m-d",###}</div>
                    <div class="clear"></div>
                </div>
                <!-- <div class="rows">
                    <label>到期时间:</label>
                    <div class="txt">{$userinfo.endtime|date="Y-m-d",###}</div>
                    <div class="clear"></div>
                </div> -->
                <div class="rows">
                    <label>客户名称:</label>
                    <div class="txt">{$userinfo.customname}</div>
                    <div class="clear"></div>
                </div>
                <div class="rows">
                    <label>短信余额:</label>
                    <div class="txt">{$sms}条</div>
                    <div class="clear"></div>
                </div>
                <div class="rows">
                    <label>联系人:</label>
                    <div class="txt">{$userinfo.person}</div>
                    <div class="clear"></div>
                </div>
                <div class="rows">
                    <label>联系电话:</label>
                    <div class="txt">{$userinfo.tel}</div>
                    <div class="clear"></div>
                </div>
                <div class="rows">
                    <label>联系手机:</label>
                    <div class="txt">{$userinfo.mobile}</div>
                    <div class="clear"></div>
                </div>
                <div class="rows">
                    <label>QQ号码:</label>
                    <div class="txt">{$userinfo.qq}</div>
                    <div class="clear"></div>
                </div>
                <div class="rows">
                    <label>电子邮箱:</label>
                    <div class="txt">{$userinfo.email}</div>
                    <div class="clear"></div>
                </div>
                <div class="rows">
                    <label>接口URL:</label>
                    <div class="txt">{:make_api_url($userinfo['uid'])}</div>
                    <div class="clear"></div>
                </div>
                <div class="rows">
                    <label>接口Token:</label>
                    <div class="txt">{$userinfo.token}</div>
                    <div class="clear"></div>
                </div>
                <div class="rows">
                    <label>备注信息:</label>
                    <div class="remark">{$userinfo.desc}</div>
                    <div class="clear"></div>
                </div>
            </div>
            <div class="m_righter">
                <dl>
                    <dt>已开通功能</dt>
                     <foreach name="moudles" item="v" >
                                <dd>
                                <if condition="!is_array($v['configs'])" >
                                    <if condition="$useropenMoudles[$v['name']]['status'] eq 1">&gt; {$v.title}</if>
                                    
                                </if>
                                </dd>
                  </foreach>
                </dl>
            </div>
            <div class="clear"></div>
            <div class="back"><a href="{:U('Users/index')}">返回</a></div>
        </div>
    </div></div>
    </div>
    <div class="clear"></div>
</div>
<div id="footer">
    <div class="wrap">{$WEB.name}</div>
</div>
</body>
</html>